import Vue from 'vue'
import App from './App.vue'

import router from './router'

import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.prototype.$axios = axios;

import './mock/index.js'

// import bmap from 'vue-baidu-map'

//引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

//使用element-ui
Vue.use(ElementUI, VueAxios, axios)

// Vue.use(bmap, {
//   ak: 'bnzIFXq4nIgAAQDNiFSUsp4O3fkV0uGx'
// })

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')